package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.entity.VaTask;
import com.woniu.entity.dto.VaResultDTO;
import com.woniu.entity.dto.VaResultParticularsDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EvaluatTaskResultMapper extends BaseMapper<VaTask> {
    //查询所有作业结果
    List<VaResultDTO> findAllTaskResult(@Param("taskId") Integer taskId);
    //通过作业结果id查询作业详情
    VaResultParticularsDTO findTaskResultParticulars(@Param("resultId") Integer resultId);
}
